$action-color: #477dca !default;

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;

  &.infinite {
    animation-iteration-count: infinite;
  }

  &.alternate {
    animation-direction: alternate;
  }

  &.iteration {
    animation-iteration-count: 2;
  }
}

// Tweak the keyframes below. Or swap them with another animation pattern at
// https://github.com/daneden/animate.css/tree/master/source

@-webkit-keyframes zoomOut {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
            transform: scale3d(0.3, 0.3, 0.3);
  }

  100% {
    opacity: 0;
  }
}

@keyframes zoomOut {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
            transform: scale3d(0.3, 0.3, 0.3);
  }

  100% {
    opacity: 0;
  }
}

.zoomOut {
  -webkit-animation-name: zoomOut;
          animation-name: zoomOut;
}

/////////////////////////////////////////////////////////////

.animate-target {
  @include size(6em);
  border: 22px solid #e2e2e3;
  border-radius: 50%;
  margin: 0 auto 3em;
  text-align: center;
  -webkit-transform-style: preserve-3d;
}

button {
  display: block;
  margin: auto;
  outline: none;
  padding: 0.8em 1em;
  text-align: center;
}
